package cn.itsource.xhy.org.domain;

import cn.itsource.xhy.basic.domain.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data // 复合注解get、set、toString
@NoArgsConstructor // 无参构造
@AllArgsConstructor // 有参构造
public class Department extends BaseDomain{

    private String sn;
    private String name;
    /*部门状态，1是正常，0是禁用*/
    private Integer state;
    private Long manager_id;
    private Employee manager;
    private Long parent_id;
    private Department parent;
}
